From 060f2d5f65dca475b3a766eb5a2692696da16101 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 14 Sep 2021 12:21:05 -0400 Subject: [PATCH] Annotate pango_glyph_string_num_glyphs as pure --- gsk/gskprivate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gsk/gskprivate.h b/gsk/gskprivate.h index 5d9f88c942..77c0fe2bf6 100644 --- a/gsk/gskprivate.h +++ b/gsk/gskprivate.h @@ -8,7 +8,7 @@ G_BEGIN_DECLS void gsk_ensure_resources (void); -int pango_glyph_string_num_glyphs (PangoGlyphString *glyphs); +int pango_glyph_string_num_glyphs (PangoGlyphString *glyphs) G_GNUC_PURE; typedef struct _GskVulkanRender GskVulkanRender; typedef struct _GskVulkanRenderPass GskVulkanRenderPass; -- 2.30.2